Description: correct where ld scripts are installed
authorMatthias Klose <doko@debian.org>
Sun, 1 Feb 2026 09:59:08 +0000 (10:59 +0100)
committerMatthias Klose <doko@debian.org>
Sun, 1 Feb 2026 09:59:08 +0000 (10:59 +0100)
Upstream status: N/A

Upstream status: N/A
Date: ??

Gbp-Pq: Name 001_ld_makefile_patch.patch

ld/Makefile.am
ld/Makefile.in

index c219662d2e3b84368c7c83fff1df83a051619a14..6368d0e2a79b5817fbb477ea5fc8746a31a20c81 100644 (file)
@@ -51,7 +51,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CFLAGS) $(JANSSON_CFLAGS) $(ZSTD_CFLAGS)
 # We put the scripts in the directory $(scriptdir)/ldscripts.
 # We can't put the scripts in $(datadir) because the SEARCH_DIR
 # directives need to be different for native and cross linkers.
-scriptdir = $(tooldir)/lib
+scriptdir = $(libdir)
 
 EMUL = @EMUL@
 EMULATION_OFILES = @EMULATION_OFILES@
index f1ba6af52694035fcb8d5e22198da6cea4c28c46..8269993eafe21b31a2659c346fae7d5c37bf20a8 100644 (file)
@@ -588,7 +588,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CFLAGS) $(JANSSON_CFLAGS) $(ZSTD_CFLAGS)
 # We put the scripts in the directory $(scriptdir)/ldscripts.
 # We can't put the scripts in $(datadir) because the SEARCH_DIR
 # directives need to be different for native and cross linkers.
-scriptdir = $(tooldir)/lib
+scriptdir = $(libdir)
 BASEDIR = $(srcdir)/..
 BFDDIR = $(BASEDIR)/bfd
 INCDIR = $(BASEDIR)/include